package framework

import (
	"go.uber.org/zap"
)

var (
	Log  *zap.Logger
	Logf *zap.SugaredLogger
)

func init() {
	if log, err := zap.NewProduction(); err != nil {
		panic("Zap Logger 初始化失败!")
	} else {
		Log = log
		Logf = log.Sugar()
	}
}
